package com.lk.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by daniel on 17/2/8.
 */
@Controller
@RequestMapping(value = "test")
public class BaseController {

    @ResponseBody
    @RequestMapping(value = "hello")
    public String helloWorld() {
        return "hello";
    }

    @ResponseBody
    @RequestMapping(value = "showImg")
    public String showImg() {

        return "今天在哪里吃饭";
    }
}
